package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.AttachmentStorageMapper;
import com.billing.model.entity.TAttachmentStorage;
import com.billing.service.AttachmentStorageService;

@Service
public class AttachmentStorageServiceImpl implements AttachmentStorageService {

	@Resource
	private AttachmentStorageMapper attachmentStorageMapper;
	
	@Override
	public int insertAttachmentStorageList(List<TAttachmentStorage> list) {
		return attachmentStorageMapper.insertAttachmentStorageList(list);
	}

	@Override
	public List<TAttachmentStorage> getTAttachmentStorageList(int businesstype,
			int businessid) {
		return attachmentStorageMapper.getTAttachmentStorageList(businesstype, businessid);
	}

}
